package com.jumi.microservice.service;

import com.jumi.microservice.dto.reponse.UserAuthExternalResponse;
import com.jumi.microservice.dto.reponse.UserCashExternalResponse;
import com.jumi.microservice.dto.reponse.UserExternalResponse;

/**
 * @author scw
 * @date 2020/10/28
 */
public interface IUserExternalService {
    /**
     * 根据用户uid查询用户信息
     *
     * @param uid
     * @return
     */
    UserExternalResponse getUserByUid(Integer uid);

    /**
     * 根据手机号查询用户uid
     *
     * @param mobile
     * @return
     */
    Integer getUidByMobile(String mobile);

    /**
     * 根据用户uid查询用户实名认证信息
     *
     * @param uid
     * @return
     */
    UserAuthExternalResponse getUserAuthByUid(Integer uid);

    /**
     * 根据用户uid查询用户实名认证信息
     *
     * @param uid
     * @return
     */
    UserCashExternalResponse getUserCashByUid(Integer uid);
}
